package com.qst.order.service;

import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.io.InputStream;
import java.util.List;
import java.util.Map;

public interface OSSService {
    Map<String, String> getUploadCredentials(String dirType);

    String uploadFile(MultipartFile file, String type) throws IOException;


    int deleteFiles(List<String> fileNames);
}
